.. _CP Structures: ========================== CP Structures ========================== .. toctree:: :maxdepth: 1 * :ref:`CParticle` * :ref:`CPARTICLE_POINT` * :ref:`CPathNode` * :ref:`CPathSearch` * :ref:`CPersistantEffect` * :ref:`CPersistantEffectApplyEffect` * :ref:`CPersistantEffectBurningDeath` * :ref:`CPersistantEffectColorEffect` * :ref:`CPersistantEffectDamage` * :ref:`CPersistantEffectDisease` * :ref:`CPersistantEffectElectricDeath` * :ref:`CPersistantEffectFadeEffect` * :ref:`CPersistantEffectFireDeath` * :ref:`CPersistantEffectList` * :ref:`CPersistantEffectListRegenerated` * :ref:`CPersistantEffectMove` * :ref:`CPersistantEffectPoison` * :ref:`CPersistantEffectRegeneration` * :ref:`CPlatform` * :ref:`CPlex` * :ref:`CPoint` * :ref:`CPortraitIcon` * :ref:`CProgressBar` * :ref:`CProjectile` * :ref:`CProjectileAmbiant` * :ref:`CProjectileArea` * :ref:`CProjectileAreaFileFormat` * :ref:`CProjectileBAM` * :ref:`CProjectileBAMFileFormat` * :ref:`CProjectileCallLightning` * :ref:`CProjectileCastingGlow` * :ref:`CProjectileChain` * :ref:`CProjectileColorSpray` * :ref:`CProjectileConeOfCold` * :ref:`CProjectileFall` * :ref:`CProjectileFile` * :ref:`CProjectileFileFormat` * :ref:`CProjectileFireHands` * :ref:`CProjectileInstant` * :ref:`CProjectileInvisibleTravelling` * :ref:`CProjectileLightningBolt` * :ref:`CProjectileLightningBoltGround` * :ref:`CProjectileLightningBounce` * :ref:`CProjectileLightningStorm` * :ref:`CProjectileMagicMissileMulti` * :ref:`CProjectileMulti` * :ref:`CProjectileMushroom` * :ref:`CProjectileNewScorcher` * :ref:`CProjectileScorcher` * :ref:`CProjectileSegment` * :ref:`CProjectileSkyStrike` * :ref:`CProjectileSkyStrikeBAM` * :ref:`CProjectileSpellHit` * :ref:`CProjectileTravelDoor` * :ref:`CPtrArray` * :ref:`CPtrList` * :ref:`CPtrList::CNode` .. _CParticle: CParticle ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CParticle Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 2 | short | m_nTimeStamp | +------------+----------+----------------------------------------+-------------------------------+ | 0x02 | 2 | short | m_nTailLength | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 2 | short | m_nRenderTime | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | unsigned long | m_rgbColor | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 2 | unsigned short | m_wType | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | long | m_nLifeSpan | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 1 | unsigned char | m_bTag | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 12 | :ref:`CPARTICLE_POINT` | m_pos | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 12 | :ref:`CPARTICLE_POINT` | m_vel | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 4 | long | m_nGravity | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPARTICLEPOINT: CPARTICLE_POINT ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | long | x | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | long | y | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | long | z | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPathNode: CPathNode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CPathNode`\* | m_pathNodePrev | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | :ref:`CPathNode`\* | m_listOpenLeft | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | :ref:`CPathNode`\* | m_listOpenRight | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | :ref:`CPathNode`\* | m_listOpenParent | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | long | m_gridPosition | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | long | m_costStart | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | long | m_costTotal | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 1 | unsigned char | m_fIsOpen | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPathSearch: CPathSearch ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CPathSearch Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | int | PATH_SMOOTH | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | :ref:`CPathNode`\*\* | m_pListGrid | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | :ref:`CPathNode`\* | m_openList | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 2 | short | m_openListLevel | +------------+----------+----------------------------------------+-------------------------------+ | 0x0E | 2 | short | m_nOpenList | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | long\* | m_pathBegin | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 2 | short | m_nPathNodes | +------------+----------+----------------------------------------+-------------------------------+ | 0x16 | 2 | short | m_pathCurrent | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPersistantEffect: CPersistantEffect ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CPersistantEffect Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | vfptr | vfptr | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | int | m_done | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | int | m_deleted | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 2 | short | m_numDamage | +------------+----------+----------------------------------------+-------------------------------+ | 0x0E | 2 | short | m_persistantType | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | long | m_sourceID | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 2 | short | m_period | +------------+----------+----------------------------------------+-------------------------------+ | 0x16 | 2 | short | m_periodCounter | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | long | m_counter | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPersistantEffectApplyEffect: CPersistantEffectApplyEffect ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+---------------------------------------------------------+---------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------------------+---------------------------+ | 0x00 | 40 | :ref:`CPersistantEffectDamage` | m_cPersistantEffectDamage | +------------+----------+---------------------------------------------------------+---------------------------+ | 0x28 | 8 | :ref:`CResRef` | m_res | +------------+----------+---------------------------------------------------------+---------------------------+ | 0x30 | 4 | :ref:`CGameEffect`\* | m_pSourceEffect | +------------+----------+---------------------------------------------------------+---------------------------+ ---- .. _CPersistantEffectBurningDeath: CPersistantEffectBurningDeath ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+---------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CPersistantEffect` | m_cPersistantEffect | +------------+----------+---------------------------------------------+-------------------------------+ | 0x1C | 1 | unsigned char | m_charredDegree | +------------+----------+---------------------------------------------+-------------------------------+ | 0x1D | 1 | unsigned char | m_charredIncrement | +------------+----------+---------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+---------------------------------------------+-------------------------------+ ---- .. _CPersistantEffectColorEffect: CPersistantEffectColorEffect ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+---------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CPersistantEffect` | m_cPersistantEffect | +------------+----------+---------------------------------------------+-------------------------------+ | 0x1C | 4 | int | m_undo | +------------+----------+---------------------------------------------+-------------------------------+ | 0x20 | 1 | unsigned char | m_effectFinalRed | +------------+----------+---------------------------------------------+-------------------------------+ | 0x21 | 1 | unsigned char | m_effectDegreeRed | +------------+----------+---------------------------------------------+-------------------------------+ | 0x22 | 1 | unsigned char | m_effectIncrementRed | +------------+----------+---------------------------------------------+-------------------------------+ | 0x23 | 1 | unsigned char | m_effectFinalGreen | +------------+----------+---------------------------------------------+-------------------------------+ | 0x24 | 1 | unsigned char | m_effectDegreeGreen | +------------+----------+---------------------------------------------+-------------------------------+ | 0x25 | 1 | unsigned char | m_effectIncrementGreen | +------------+----------+---------------------------------------------+-------------------------------+ | 0x26 | 1 | unsigned char | m_effectFinalBlue | +------------+----------+---------------------------------------------+-------------------------------+ | 0x27 | 1 | unsigned char | m_effectDegreeBlue | +------------+----------+---------------------------------------------+-------------------------------+ | 0x28 | 1 | unsigned char | m_effectIncrementBlue | +------------+----------+---------------------------------------------+-------------------------------+ | 0x29 | 1 | unsigned char | m_colorEffect | +------------+----------+---------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+---------------------------------------------+-------------------------------+ ---- .. _CPersistantEffectDamage: CPersistantEffectDamage ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+---------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CPersistantEffect` | m_cPersistantEffect | +------------+----------+---------------------------------------------+-------------------------------+ | 0x1C | 2 | short | m_type | +------------+----------+---------------------------------------------+-------------------------------+ | 0x1E | 2 | short | m_maxDamage | +------------+----------+---------------------------------------------+-------------------------------+ | 0x20 | 2 | short | m_damage | +------------+----------+---------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+---------------------------------------------+-------------------------------+ | 0x24 | 4 | long | m_duration | +------------+----------+---------------------------------------------+-------------------------------+ ---- .. _CPersistantEffectDisease: CPersistantEffectDisease ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+---------------------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x00 | 40 | :ref:`CPersistantEffectDamage` | m_cPersistantEffectDamage | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x28 | 8 | :ref:`CResRef` | m_res | +------------+----------+---------------------------------------------------------+-------------------------------+ ---- .. _CPersistantEffectElectricDeath: CPersistantEffectElectricDeath ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+---------------------------------------------------------------------+----------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------------------------------+----------------------------------+ | 0x00 | 32 | :ref:`CPersistantEffectBurningDeath` | m_cPersistantEffectBurningDeath | +------------+----------+---------------------------------------------------------------------+----------------------------------+ ---- .. _CPersistantEffectFadeEffect: CPersistantEffectFadeEffect ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+---------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CPersistantEffect` | m_cPersistantEffect | +------------+----------+---------------------------------------------+-------------------------------+ | 0x1C | 2 | short | m_fade | +------------+----------+---------------------------------------------+-------------------------------+ | 0x1E | 2 | short | m_type | +------------+----------+---------------------------------------------+-------------------------------+ | 0x20 | 2 | short | m_increment | +------------+----------+---------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+---------------------------------------------+-------------------------------+ ---- .. _CPersistantEffectFireDeath: CPersistantEffectFireDeath ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+---------------------------------------------------------------------+---------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------------------------------+---------------------------------+ | 0x00 | 32 | :ref:`CPersistantEffectBurningDeath` | m_cPersistantEffectBurningDeath | +------------+----------+---------------------------------------------------------------------+---------------------------------+ ---- .. _CPersistantEffectList: CPersistantEffectList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CTypedPtrList` | m_cTypedPtrList | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPersistantEffectListRegenerated: CPersistantEffectListRegenerated ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CTypedPtrList` | m_cTypedPtrList | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 4 | unsigned long | m_nCounter | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPersistantEffectMove: CPersistantEffectMove ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+---------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CPersistantEffect` | m_cPersistantEffect | +------------+----------+---------------------------------------------+-------------------------------+ | 0x1C | 2 | short | m_type | +------------+----------+---------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+---------------------------------------------+-------------------------------+ | 0x20 | 4 | long | m_speed | +------------+----------+---------------------------------------------+-------------------------------+ | 0x24 | 8 | :ref:`CPoint` | m_dest | +------------+----------+---------------------------------------------+-------------------------------+ | 0x2C | 4 | long | m_target | +------------+----------+---------------------------------------------+-------------------------------+ ---- .. _CPersistantEffectPoison: CPersistantEffectPoison ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+---------------------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x00 | 40 | :ref:`CPersistantEffectDamage` | m_cPersistantEffectDamage | +------------+----------+---------------------------------------------------------+-------------------------------+ ---- .. _CPersistantEffectRegeneration: CPersistantEffectRegeneration ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+---------------------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x00 | 40 | :ref:`CPersistantEffectDamage` | m_cPersistantEffectDamage | +------------+----------+---------------------------------------------------------+-------------------------------+ ---- .. _CPlatform: CPlatform ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | | 1 | | | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPlex: CPlex ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CPlex Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CPlex`\* | pNext | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned long | dwReserved[1] | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPoint: CPoint ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. note:: Actually defined as `POINT `_ but adapted/recreated as its own structure. +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | long | x | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | long | y | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPortraitIcon: CPortraitIcon ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | int | icon | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | int | frame | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 192 | :ref:`CVidCell` | bam | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProgressBar: CProgressBar ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned long | m_nSecondsToTimeout | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | long | m_nProgressBarCaption | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | long | m_nParchmentCaption | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | long | m_nActionProgress | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | long | m_nActionTarget | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 1 | unsigned char | m_bTravelActive | +------------+----------+----------------------------------------+-------------------------------+ | 0x15 | 1 | unsigned char | m_bWaiting | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | long | m_nWaitingReason | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 1 | unsigned char | m_bDisableMinibars | +------------+----------+----------------------------------------+-------------------------------+ | 0x1D | 1 | unsigned char | m_bTimeoutVisible | +------------+----------+----------------------------------------+-------------------------------+ | 0x1E | 1 | unsigned char | m_bProgressBarActivated | +------------+----------+----------------------------------------+-------------------------------+ | 0x1F | 6 | unsigned char | m_bRemoteWaiting[6] | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 24 | long | m_nRemoteActionProgress[6] | +------------+----------+----------------------------------------+-------------------------------+ | 0x40 | 24 | long | m_nRemoteActionTarget[6] | +------------+----------+----------------------------------------+-------------------------------+ | 0x58 | 24 | long | m_nRemoteWaitingReason[6] | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectile: CProjectile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CProjectile Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 71 | :ref:`CGameObject` | m_cGameObject | +------------+----------+----------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x48 | 2 | unsigned short | m_projectileType | +------------+----------+----------------------------------------+-------------------------------+ | 0x4A | 1 | unsigned char | m_addToListType | +------------+----------+----------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C | 2 | short | m_speed | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x50 | 4 | long | m_sourceId | +------------+----------+----------------------------------------+-------------------------------+ | 0x54 | 4 | long | m_targetId | +------------+----------+----------------------------------------+-------------------------------+ | 0x58 | 4 | long | m_callBackProjectile | +------------+----------+----------------------------------------+-------------------------------+ | 0x5C | 44 | :ref:`CGameEffectList`| m_effectList | +------------+----------+----------------------------------------+-------------------------------+ | 0x88 | 2 | short | m_nType | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x8C | 8 | :ref:`CPoint` | m_posExact | +------------+----------+----------------------------------------+-------------------------------+ | 0x94 | 8 | :ref:`CPoint` | m_posDelta | +------------+----------+----------------------------------------+-------------------------------+ | 0x9C | 8 | :ref:`CPoint` | m_startDelta | +------------+----------+----------------------------------------+-------------------------------+ | 0xA4 | 8 | :ref:`CPoint` | m_minRandomSpeed | +------------+----------+----------------------------------------+-------------------------------+ | 0xAC | 8 | :ref:`CPoint` | m_maxRandomSpeed | +------------+----------+----------------------------------------+-------------------------------+ | 0xB4 | 4 | int | m_startSpeed | +------------+----------+----------------------------------------+-------------------------------+ | 0xB8 | 8 | :ref:`CPoint` | m_posDest | +------------+----------+----------------------------------------+-------------------------------+ | 0xC0 | 16 | unsigned char | m_terrainTable[16] | +------------+----------+----------------------------------------+-------------------------------+ | 0xD0 | 2 | unsigned short | m_decAmmount | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0xD4 | 4 | int | m_bSparkleTrail | +------------+----------+----------------------------------------+-------------------------------+ | 0xD8 | 4 | unsigned long | m_defaultRenderFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0xDC | 4 | int | m_bIgnoreTarget | +------------+----------+----------------------------------------+-------------------------------+ | 0xE0 | 20 | :ref:`CSound` | m_sound | +------------+----------+----------------------------------------+-------------------------------+ | 0xF4 | 8 | :ref:`CResRef` | m_fireSoundRef | +------------+----------+----------------------------------------+-------------------------------+ | 0xFC | 4 | int | m_loopFireSound | +------------+----------+----------------------------------------+-------------------------------+ | 0x100 | 8 | :ref:`CResRef` | m_arrivalSoundRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x108 | 4 | int | m_loopArrivalSound | +------------+----------+----------------------------------------+-------------------------------+ | 0x10C | 1 | unsigned char | m_bHasHeight | +------------+----------+----------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x10E | 2 | short | m_nDeltaZ | +------------+----------+----------------------------------------+-------------------------------+ | 0x110 | 2 | short | m_nDeltaZLast | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x114 | 4 | long | m_nOrigDistance | +------------+----------+----------------------------------------+-------------------------------+ | 0x118 | 8 | :ref:`CPoint` | m_ptBamSize | +------------+----------+----------------------------------------+-------------------------------+ | 0x120 | 4 | long | m_dwFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x124 | 4 | long | m_maxBounces | +------------+----------+----------------------------------------+-------------------------------+ | 0x128 | 4 | :ref:`CString` | m_visualEffectRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x12C | 4 | long | m_visualEffect | +------------+----------+----------------------------------------+-------------------------------+ | 0x130 | 2 | short | m_maxDuration | +------------+----------+----------------------------------------+-------------------------------+ | 0x132 | 2 | short | m_lanceWidth | +------------+----------+----------------------------------------+-------------------------------+ | 0x134 | 4 | unsigned long | m_extFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x138 | 4 | unsigned long | m_strRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x13C | 4 | unsigned long | m_color | +------------+----------+----------------------------------------+-------------------------------+ | 0x140 | 2 | unsigned short | m_colorSpeed | +------------+----------+----------------------------------------+-------------------------------+ | 0x142 | 2 | unsigned short | m_shake | +------------+----------+----------------------------------------+-------------------------------+ | 0x144 | 2 | unsigned short | m_IDSValue1 | +------------+----------+----------------------------------------+-------------------------------+ | 0x146 | 2 | unsigned short | m_IDSType1 | +------------+----------+----------------------------------------+-------------------------------+ | 0x148 | 2 | unsigned short | m_IDSValue2 | +------------+----------+----------------------------------------+-------------------------------+ | 0x14A | 2 | unsigned short | m_IDSType2 | +------------+----------+----------------------------------------+-------------------------------+ | 0x14C | 8 | :ref:`CResRef` | m_failureSpell | +------------+----------+----------------------------------------+-------------------------------+ | 0x154 | 8 | :ref:`CResRef` | m_successSpell | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileAmbiant: CProjectileAmbiant ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-------------------------------------------------+-----------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-------------------------------------------------+-----------------------+ | 0x00 | 722 | :ref:`CProjectileSpellHit` | m_cProjectileSpellHit | +------------+----------+-------------------------------------------------+-----------------------+ | | 2 | | ```` | +------------+----------+-------------------------------------------------+-----------------------+ ---- .. _CProjectileArea: CProjectileArea ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ | 0x29C | 8 | :ref:`CResRef` | m_resref | +------------+----------+----------------------------------------+-------------------------------+ | 0x2A4 | 2 | short | m_explosionRange | +------------+----------+----------------------------------------+-------------------------------+ | 0x2A6 | 2 | short | m_triggerRange | +------------+----------+----------------------------------------+-------------------------------+ | 0x2A8 | 2 | unsigned short | m_secondaryProjectile | +------------+----------+----------------------------------------+-------------------------------+ | 0x2AA | 2 | short | m_nRepetitionCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x2AC | 4 | int | m_bReachedDestination | +------------+----------+----------------------------------------+-------------------------------+ | 0x2B0 | 2 | short | m_nDelay | +------------+----------+----------------------------------------+-------------------------------+ | 0x2B2 | 2 | short | m_nDelayCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x2B4 | 4 | int | m_bDetonateOnlyIfTargets | +------------+----------+----------------------------------------+-------------------------------+ | 0x2B8 | 20 | :ref:`CAIObjectType` | m_targetType | +------------+----------+----------------------------------------+-------------------------------+ | 0x2CC | 1 | unsigned char | m_fireBallType | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D0 | 4 | int | m_bSparkleExplosion | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D4 | 2 | unsigned short | m_sparkleExplosionProjectile | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D8 | 4 | int | m_bDelayedTrigger | +------------+----------+----------------------------------------+-------------------------------+ | 0x2DC | 4 | int | m_bChunksExplosion | +------------+----------+----------------------------------------+-------------------------------+ | 0x2E0 | 4 | int | m_checkForNonSprites | +------------+----------+----------------------------------------+-------------------------------+ | 0x2E4 | 4 | int | m_centerBam | +------------+----------+----------------------------------------+-------------------------------+ | 0x2E8 | 2 | unsigned short | m_explodeId | +------------+----------+----------------------------------------+-------------------------------+ | 0x2EA | 8 | :ref:`CResRef` | m_explosionSound | +------------+----------+----------------------------------------+-------------------------------+ | 0x2F2 | 1 | unsigned char | m_ringColor | +------------+----------+----------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x2F4 | 4 | int | m_bVVCAtCenter | +------------+----------+----------------------------------------+-------------------------------+ | 0x2F8 | 8 | :ref:`CResRef` | m_centerVVC | +------------+----------+----------------------------------------+-------------------------------+ | 0x300 | 4 | int | m_bConeFromCaster | +------------+----------+----------------------------------------+-------------------------------+ | 0x304 | 2 | unsigned short | m_coneSize | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x308 | 4 | int | m_bIgnoreLOS | +------------+----------+----------------------------------------+-------------------------------+ | 0x30C | 1 | char | m_portraitNum | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x310 | 4 | int | m_bResolvePortraitNum | +------------+----------+----------------------------------------+-------------------------------+ | 0x314 | 4 | int | m_centerBamWait | +------------+----------+----------------------------------------+-------------------------------+ | 0x318 | 4 | int | m_forceInitialWait | +------------+----------+----------------------------------------+-------------------------------+ | 0x31C | 4 | int | m_oneTargetOnly | +------------+----------+----------------------------------------+-------------------------------+ | 0x320 | 4 | unsigned long | m_targetCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x324 | 4 | unsigned long | m_hpLimit | +------------+----------+----------------------------------------+-------------------------------+ | 0x328 | 4 | unsigned long | m_animationID | +------------+----------+----------------------------------------+-------------------------------+ | 0x32C | 4 | unsigned long | m_animationIDStatic | +------------+----------+----------------------------------------+-------------------------------+ | 0x330 | 8 | :ref:`CResRef` | m_fireBallSound | +------------+----------+----------------------------------------+-------------------------------+ | 0x338 | 8 | :ref:`CResRef` | m_fireBallArea | +------------+----------+----------------------------------------+-------------------------------+ | 0x340 | 8 | :ref:`CResRef` | m_fireBallRing | +------------+----------+----------------------------------------+-------------------------------+ | 0x348 | 4 | unsigned long | m_fireBallFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x34C | 2 | unsigned short | m_granularity | +------------+----------+----------------------------------------+-------------------------------+ | 0x34E | 2 | unsigned short | m_granDivider | +------------+----------+----------------------------------------+-------------------------------+ | 0x350 | 2 | unsigned short | m_childCount | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x354 | 4 | int | m_bPointsInited | +------------+----------+----------------------------------------+-------------------------------+ | 0x358 | 32 | :ref:`CPoint` | m_points[4] | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileAreaFileFormat: CProjectileAreaFileFormat ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-----------------------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x00 | 504 | :ref:`CProjectileBAMFileFormat` | m_cProjectileBAMFileFormat | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x1F8 | 4 | unsigned long | m_dwAreaFlags | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x1FC | 2 | unsigned short | m_triggerRange | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x1FE | 2 | unsigned short | m_explosionRange | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x200 | 8 | :ref:`CResRef` | m_explodeSound | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x208 | 2 | unsigned short | m_nDelay | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x20A | 2 | unsigned short | m_explodeId | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x20C | 2 | unsigned short | m_sparkleExplosionProjectile | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x20E | 1 | unsigned char | m_nRepetitionCount | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x20F | 1 | unsigned char | m_fireBallType | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x210 | 1 | unsigned char | m_ringColor | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x211 | 1 | unsigned char | padding1 | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x212 | 2 | unsigned short | m_secondaryProjectile | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x214 | 8 | :ref:`CResRef` | m_centerVVC | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x21C | 2 | unsigned short | m_coneSize | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x21E | 2 | unsigned short | padding2 | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x220 | 8 | :ref:`CResRef` | m_fireBallArea | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x228 | 8 | :ref:`CResRef` | m_fireBallRing | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x230 | 8 | :ref:`CResRef` | m_fireBallSound | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x238 | 4 | unsigned long | m_fireBallFlags | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x23C | 2 | unsigned short | m_targetDiceCount | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x23E | 2 | unsigned short | m_targetDiceSize | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x240 | 2 | unsigned short | m_granularity | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x242 | 2 | unsigned short | m_granDivider | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x244 | 180 | unsigned long | reservedSpace[45] | +------------+----------+-----------------------------------------------------------+-------------------------------+ **Notes** Related to `PRO V1 Projectile area of effect `_ ---- .. _CProjectileBAM: CProjectileBAM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 348 | :ref:`CProjectile` | m_cProjectile | +------------+----------+----------------------------------------+-------------------------------+ | 0x15C | 4 | :ref:`CVidCell`\* | m_currentVidCell | +------------+----------+----------------------------------------+-------------------------------+ | 0x160 | 4 | :ref:`CVidCell`\* | m_shadowVidCell | +------------+----------+----------------------------------------+-------------------------------+ | 0x164 | 36 | :ref:`CVidPalette` | m_palette | +------------+----------+----------------------------------------+-------------------------------+ | 0x188 | 4 | int | m_tint | +------------+----------+----------------------------------------+-------------------------------+ | 0x18C | 4 | int | m_height | +------------+----------+----------------------------------------+-------------------------------+ | 0x190 | 4 | int | m_glow | +------------+----------+----------------------------------------+-------------------------------+ | 0x194 | 8 | :ref:`CSize` | m_glowSize | +------------+----------+----------------------------------------+-------------------------------+ | 0x19C | 2 | short | m_glowIntensity | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x1A0 | 4 | int | m_shadow | +------------+----------+----------------------------------------+-------------------------------+ | 0x1A4 | 2 | short | m_numDirections | +------------+----------+----------------------------------------+-------------------------------+ | 0x1A6 | 2 | short | m_direction | +------------+----------+----------------------------------------+-------------------------------+ | 0x1A8 | 2 | short | m_newDirection | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x1AC | 4 | int | m_render | +------------+----------+----------------------------------------+-------------------------------+ | 0x1B0 | 176 | :ref:`CVidBitmap` | m_newPalette | +------------+----------+----------------------------------------+-------------------------------+ | 0x260 | 1 | unsigned char | m_bNewPalette | +------------+----------+----------------------------------------+-------------------------------+ | 0x261 | 1 | unsigned char | m_bDuration | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x264 | 4 | int | m_bSmoke | +------------+----------+----------------------------------------+-------------------------------+ | 0x268 | 1 | unsigned char | m_smokePeriod | +------------+----------+----------------------------------------+-------------------------------+ | 0x269 | 7 | unsigned char | m_smokeColorRange[7] | +------------+----------+----------------------------------------+-------------------------------+ | 0x270 | 1 | unsigned char | m_smokeCount | +------------+----------+----------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x272 | 2 | unsigned short | m_smokeAnimationCode | +------------+----------+----------------------------------------+-------------------------------+ | 0x274 | 8 | :ref:`CResRef` | m_cPuffEffect1 | +------------+----------+----------------------------------------+-------------------------------+ | 0x27C | 8 | :ref:`CResRef` | m_cPuffEffect2 | +------------+----------+----------------------------------------+-------------------------------+ | 0x284 | 8 | :ref:`CResRef` | m_cPuffEffect3 | +------------+----------+----------------------------------------+-------------------------------+ | 0x28C | 2 | unsigned short | m_nPuff1Spacing | +------------+----------+----------------------------------------+-------------------------------+ | 0x28E | 2 | unsigned short | m_nPuff2Spacing | +------------+----------+----------------------------------------+-------------------------------+ | 0x290 | 2 | unsigned short | m_nPuff3Spacing | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x294 | 4 | unsigned long | m_dwPuffFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x298 | 4 | long | m_puffCounter | +------------+----------+----------------------------------------+-------------------------------+ **Notes** Related to `PRO V1 Projectile graphics `_ ---- .. _CProjectileBAMFileFormat: CProjectileBAMFileFormat ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-----------------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x00 | 248 | :ref:`CProjectileFileFormat` | m_cProjectileBAMFileFormat | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0xF8 | 4 | unsigned long | m_dwBAMFlags | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0xfC | 8 | :ref:`CResRef` | m_vidCell | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x104 | 8 | :ref:`CResRef` | m_shadowVidCell | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x10C | 1 | unsigned char | m_seqVidCell | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x10D | 1 | unsigned char | m_seqShadowVidCell | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x10E | 2 | short | m_glowIntensity | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x110 | 2 | short | m_glowSizeX | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x112 | 2 | short | m_glowSizeY | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x114 | 8 | :ref:`CResRef` | m_paletteResRef | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x11C | 7 | unsigned char | m_colors[7] | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x123 | 1 | unsigned char | m_smokePeriod | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x124 | 7 | unsigned char | m_smokeColors[7] | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x12B | 1 | unsigned char | m_numDirections | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x12C | 2 | unsigned short | m_smokeAnimationCode | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x12E | 8 | :ref:`CResRef` | m_cPuffEffect1 | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x136 | 8 | :ref:`CResRef` | m_cPuffEffect2 | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x13E | 8 | :ref:`CResRef` | m_cPuffEffect3 | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x146 | 2 | unsigned short | m_nPuff1Spacing | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x148 | 2 | unsigned short | m_nPuff2Spacing | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x14A | 2 | unsigned short | m_nPuff3Spacing | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x14C | 4 | unsigned long | m_dwPuffFlags | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x150 | 168 | unsigned long | reservedSpace[42] | +------------+----------+-----------------------------------------------------+-------------------------------+ **Notes** Related to `PRO V1 Projectile graphics `_ ---- .. _CProjectileCallLightning: CProjectileCallLightning ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-----------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------+-------------------------------+ | 0x00 | 348 | :ref:`CProjectileInstant` | m_cProjectileInstant | +------------+----------+-----------------------------------------------+-------------------------------+ ---- .. _CProjectileCastingGlow: CProjectileCastingGlow ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 348 | :ref:`CProjectile` | m_cProjectile | +------------+----------+----------------------------------------+-------------------------------+ | 0x15C | 192 | :ref:`CVidCell` | m_animation | +------------+----------+----------------------------------------+-------------------------------+ | 0x21C | 176 | :ref:`CVidBitmap` | m_newPalette | +------------+----------+----------------------------------------+-------------------------------+ | 0x2CC | 4 | unsigned long | m_dwRenderFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D0 | 1 | unsigned char | m_bNewPalette | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D1 | 1 | unsigned char | m_transparency | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D2 | 1 | unsigned char | m_duration | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D3 | 1 | unsigned char | m_delay | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileChain: CProjectileChain ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ | 0x29c | 2 | short | m_numProjectile | +------------+----------+----------------------------------------+-------------------------------+ | 0x29E | 2 | short | m_nDelay | +------------+----------+----------------------------------------+-------------------------------+ | 0x2A0 | 4 | int | m_bOriginCaster | +------------+----------+----------------------------------------+-------------------------------+ | 0x2A4 | 2 | unsigned short | m_secondaryProjectileType | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x2A8 | 4 | :ref:`CProjectile`\* | m_carrierProjectile | +------------+----------+----------------------------------------+-------------------------------+ | 0x2AC | 4 | int | m_carrierArrived | +------------+----------+----------------------------------------+-------------------------------+ | 0x2B0 | 20 | :ref:`CAIObjectType` | m_targetType | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C4 | 4 | long | m_nHeight | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C8 | 2 | short | m_nType | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x2CC | 4 | int | m_bUseLineOfSight | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D0 | 2 | short | m_nDelayCount | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileColorSpray: CProjectileColorSpray ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ | 0x29C | 2 | short | m_counter | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileConeOfCold: CProjectileConeOfCold ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ | 0x29C | 2 | short | m_counter | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileFall: CProjectileFall ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ | 0x29C | 4 | int | m_sideMove | +------------+----------+----------------------------------------+-------------------------------+ | 0x2A0 | 4 | long | m_nSideSpeed | +------------+----------+----------------------------------------+-------------------------------+ | 0x2A4 | 4 | int | m_bAreaEffect | +------------+----------+----------------------------------------+-------------------------------+ | 0x2A8 | 2 | short | m_nAreaRange | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x2AC | 20 | :ref:`CAIObjectType` | m_targetType | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileFile: CProjectileFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileFileFormat: CProjectileFileFormat ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 2 | unsigned short | m_wFileType | +------------+----------+----------------------------------------+-------------------------------+ | 0x02 | 2 | short | m_speed | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned long | m_dwFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 8 | :ref:`CResRef` | m_fireSoundRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 8 | :ref:`CResRef` | m_arrivalSoundRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 8 | :ref:`CResRef` | m_visualEffectRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x20 | 2 | short | m_sparkleColor | +------------+----------+----------------------------------------+-------------------------------+ | 0x22 | 2 | short | m_lanceWidth | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 4 | unsigned long | m_extFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 4 | unsigned long | m_strRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 4 | unsigned long | m_color | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 2 | unsigned short | m_colorSpeed | +------------+----------+----------------------------------------+-------------------------------+ | 0x32 | 2 | unsigned short | m_shake | +------------+----------+----------------------------------------+-------------------------------+ | 0x34 | 2 | unsigned short | m_IDSValue1 | +------------+----------+----------------------------------------+-------------------------------+ | 0x36 | 2 | unsigned short | m_IDSType1 | +------------+----------+----------------------------------------+-------------------------------+ | 0x38 | 2 | unsigned short | m_IDSValue2 | +------------+----------+----------------------------------------+-------------------------------+ | 0x3A | 2 | unsigned short | m_IDSType2 | +------------+----------+----------------------------------------+-------------------------------+ | 0x3C | 8 | :ref:`CResRef` | m_failureSpell | +------------+----------+----------------------------------------+-------------------------------+ | 0x44 | 8 | :ref:`CResRef` | m_successSpell | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C | 4 | long | m_maxBounces | +------------+----------+----------------------------------------+-------------------------------+ | 0x50 | 168 | unsigned long | reservedSpace[42] | +------------+----------+----------------------------------------+-------------------------------+ **Notes** Related to `PRO V1 File Format `_ ---- .. _CProjectileFireHands: CProjectileFireHands ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ | 0x29C | 2 | short | m_counter | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileInstant: CProjectileInstant ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 348 | :ref:`CProjectile` | m_cProjectile | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileInvisibleTravelling: CProjectileInvisibleTravelling ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileLightningBolt: CProjectileLightningBolt ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileLightningBoltGround: CProjectileLightningBoltGround ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ | 0x29C | 4 | long | m_maxBounces | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileLightningBounce: CProjectileLightningBounce ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ | 0x29C | 4 | long | m_lifeSpan | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileLightningStorm: CProjectileLightningStorm ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-------------------------------------------+-------------------------------+ | 0x00 | 722 | :ref:`CProjectileChain` | m_cProjectileChain | +------------+----------+-------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+-------------------------------------------+-------------------------------+ ---- .. _CProjectileMagicMissileMulti: CProjectileMagicMissileMulti ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-------------------------------------------+-------------------------------+ | 0x00 | 696 | :ref:`CProjectileMulti` | m_cProjectileMulti | +------------+----------+-------------------------------------------+-------------------------------+ ---- .. _CProjectileMulti: CProjectileMulti ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ | 0x29C | 28 | :ref:`CTypedPtrList` | m_projectiles | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileMushroom: CProjectileMushroom ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileNewScorcher: CProjectileNewScorcher ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-----------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-----------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-----------------------------------+ | 0x29C | 1 | unsigned char | m_nSegments | +------------+----------+----------------------------------------+-----------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-----------------------------------+ | 0x2A0 | 4 | long | m_deltaZ | +------------+----------+----------------------------------------+-----------------------------------+ | 0x2A4 | 256 | long | itsAffectedCreatures[64] | +------------+----------+----------------------------------------+-----------------------------------+ | 0x3A4 | 4 | int | itsNumAffectedCreatures | +------------+----------+----------------------------------------+-----------------------------------+ | 0x3A8 | 4 | int | itsAIUpdateCounter | +------------+----------+----------------------------------------+-----------------------------------+ | 0x3AC | 4 | int | itsApplyEffectsInterval | +------------+----------+----------------------------------------+-----------------------------------+ | 0x3B0 | 4 | int | itsClearAffectedCreaturesInterval | +------------+----------+----------------------------------------+-----------------------------------+ | 0x3B4 | 4 | int | itsTargetID | +------------+----------+----------------------------------------+-----------------------------------+ ---- .. _CProjectileScorcher: CProjectileScorcher ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ | 0x29C | 1 | unsigned char | m_lifeSpan | +------------+----------+----------------------------------------+-------------------------------+ | 0x29D | 1 | unsigned char | m_nSegments | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x2A0 | 4 | long | m_deltaZ | +------------+----------+----------------------------------------+-------------------------------+ | 0x2A4 | 1 | unsigned char | m_bGlow | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileSegment: CProjectileSegment ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ | 0x29C | 2 | short | m_counter | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileSkyStrike: CProjectileSkyStrike ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 348 | :ref:`CProjectile` | m_cProjectile | +------------+----------+----------------------------------------+-------------------------------+ | 0x15C | 192 | :ref:`CVidCell` | m_animation | +------------+----------+----------------------------------------+-------------------------------+ | 0x21C | 36 | :ref:`CVidPalette` | m_palette | +------------+----------+----------------------------------------+-------------------------------+ | 0x240 | 4 | int | m_bGlow | +------------+----------+----------------------------------------+-------------------------------+ | 0x244 | 2 | unsigned short | m_duration | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileSkyStrikeBAM: CProjectileSkyStrikeBAM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 668 | :ref:`CProjectileBAM` | m_cProjectileBAM | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileSpellHit: CProjectileSpellHit ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 348 | :ref:`CProjectile` | m_cProjectile | +------------+----------+----------------------------------------+-------------------------------+ | 0x15C | 192 | :ref:`CVidCell` | m_animation | +------------+----------+----------------------------------------+-------------------------------+ | 0x21C | 176 | :ref:`CVidBitmap` | m_newPalette | +------------+----------+----------------------------------------+-------------------------------+ | 0x2CC | 4 | unsigned long | m_dwRenderFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D0 | 1 | unsigned char | m_bNewPalette | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D1 | 1 | unsigned char | m_transparency | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CProjectileTravelDoor: CProjectileTravelDoor ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 348 | :ref:`CProjectile` | m_cProjectile | +------------+----------+----------------------------------------+-------------------------------+ | 0x15C | 192 | :ref:`CVidCell` | m_animation | +------------+----------+----------------------------------------+-------------------------------+ | 0x21C | 176 | :ref:`CVidBitmap` | m_newPalette | +------------+----------+----------------------------------------+-------------------------------+ | 0x2CC | 4 | unsigned long | m_dwRenderFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D0 | 1 | unsigned char | m_bNewPalette | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D1 | 1 | unsigned char | m_transparency | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D4 | 4 | :ref:`CString` | m_animationStr | +------------+----------+----------------------------------------+-------------------------------+ | 0x2D8 | 1 | unsigned char | m_nState | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPtrArray: CPtrArray ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CObject` | m_cObject | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | void\*\* | m_pData | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | int | m_nSize | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | int | m_nMaxSize | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | int | m_nGrowBy | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CPtrList: CPtrList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CPtrList Class` +------------+----------+-----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CObject` | m_cObject | +------------+----------+-----------------------------------------+-------------------------------+ | 0x04 | 4 | :ref:`CPtrList::CNode`\* | m_pNodeHead | +------------+----------+-----------------------------------------+-------------------------------+ | 0x08 | 4 | :ref:`CPtrList::CNode`\* | m_pNodeTail | +------------+----------+-----------------------------------------+-------------------------------+ | 0x0C | 4 | int | m_nCount | +------------+----------+-----------------------------------------+-------------------------------+ | 0x10 | 4 | :ref:`CPtrList::CNode`\* | m_pNodeFree | +------------+----------+-----------------------------------------+-------------------------------+ | 0x14 | 4 | :ref:`CPlex`\* | m_pBlocks | +------------+----------+-----------------------------------------+-------------------------------+ | 0x18 | 4 | int | m_nBlockSize | +------------+----------+-----------------------------------------+-------------------------------+ ---- .. _CPtrListCNode: CPtrList::CNode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CPtrList::CNode`\* | pNext | +------------+----------+-----------------------------------------+-------------------------------+ | 0x04 | 4 | :ref:`CPtrList::CNode`\* | pPrev | +------------+----------+-----------------------------------------+-------------------------------+ | 0x08 | 4 | void\* | data | +------------+----------+-----------------------------------------+-------------------------------+